package com.erp.erp_dao.CustomerAutoPool;

import com.erp.erp_entitys.CustomerAutoPool.CustomerAutoPool;
import com.erp.erp_entitys.CustomerAutoPool.CustomerAutoPoolExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICustomerAutoPoolDAO {
    long countByExample(CustomerAutoPoolExample example);

    int deleteByExample(CustomerAutoPoolExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CustomerAutoPool record);

    int insertSelective(CustomerAutoPool record);

    List<CustomerAutoPool> selectByExample(CustomerAutoPoolExample example);

    CustomerAutoPool selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CustomerAutoPool record, @Param("example") CustomerAutoPoolExample example);

    int updateByExample(@Param("record") CustomerAutoPool record, @Param("example") CustomerAutoPoolExample example);

    int updateByPrimaryKeySelective(CustomerAutoPool record);

    int updateByPrimaryKey(CustomerAutoPool record);
}